@import url('https://fonts.googleapis.com/css2?family=Orelega+One&family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PT Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    background-color: #ededed;
    padding-bottom: 80px;
}

h1, h2, h3, h4, h5 {
    font-family: "Orelega One", serif;
    font-weight: 400;
    font-style: normal;
}

.center {
    text-align: center;
}

.page-title {
    max-width: 70%;
    margin: auto;
}

.main-ul {
    margin-left: 20px;
    line-height: 1.8;
}

.main {
    width: 1280px;
    margin-left: auto;
    margin-right: auto;

    margin-top: 40px;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: white;
    border-radius: 40px;
}

.container {
    width: 1200px;
    margin: 0 auto;
}

.row {
    display: block;
}

.row::after {
    content: '';
    display: block;
    clear: both;
}

.red {
    background-color: rgb(255, 255, 255);
}

.green {
    background-color: rgb(255, 255, 255);
}

.blue {
    background-color: rgb(255, 255, 255);
}

.w33 {
    float: left;
    width: 33.3333333%;
    padding: 20px;
}

.res-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.w30 {
    float: left;
    width: 30%;
    padding: 20px;
}

.w50 {
    float: left;
    width: 50%;
    padding: 20px;
}

.w70 {
    float: left;
    width: 70%;
    padding: 20px;
}

.shapka {
    width: 100%;
    height: 140px;
    background-color: white;
    border-bottom: 4px solid #e51a21;
}

.logo-container {
    text-align: center;
}

.logo-img {
    height: 100px;
}

.bg-image {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    opacity: 0.5;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

.text-center {
    text-align: center;
}

.menu-link {
    display: inline-block;
    color: #e51a21;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    padding: 6px 18px;
    border: 1px solid #e51a21;
    border-radius: 50px;
    position: relative;
    margin: 10px;
    margin-top: 30px;
    transition: 0.5s;
}

.menu-link::after {
    content: '';
    display: inline-block;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    border: 2px solid #e51a21;
    position: absolute;
    left: -4px;
    top: -4px;
    border-radius: 50px;
}

.menu-link:hover {
    background-color: #e51a21;
    color: white;
}

.page-title {
    margin-top: 20px;
    font-size: 60px;
    font-weight: 300;
}

.card-link-page {
    width: 100%;
    height: 400px;
    position: relative;
    border-radius: 10px;
    
    background-size: cover;
    background-position: center;
    transition: 0.3s;
}

.card-link-page-title {
    color: white;
    width: 100%;
    font-size: 20px;
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.227);
    text-align: center;
}

.card-link-page:hover {
    transform: scale(1.1);
}

.card-link {
    width: 100%;
    height: 400px;
    position: relative;
    border-radius: 10px;
    
    background-size: cover;
    background-position: center;
    transition: 0.3s;
}

.red-hr {
    border-color: #e51a21;
}

.red-hr {
    border: 1px solid #e5e5e5c1;
}


.main-p {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.4;
}

.main-p > span {
    font-size: 1.4rem;
    color: #e51a21;
    font-weight: 700;
}

.main-h3 {
    font-size: 24px;
    /* color: #e51a21; */
    margin-top: 40px;
}

.red-text {
    color: #e51a21;
}

.link-page {
    color: #e51a21;
    font-weight: 700;
    font-style: italic;
    text-decoration: none;
}

.link-page::after {
    content: '→';
    position: relative;
    right: -5px;
    transition: .5s;
}

.link-page:hover::after {
    right: -15px;
}

.page-img-left {
    max-width: 420px;
    float: left;
    margin: 20px;
    margin-left: 0;
    border-radius: 20px;
    transition: .5s;
}

.page-img-right {
    max-width: 420px;
    float: right;
    margin: 20px;
    margin-right: 0;
    border-radius: 20px;
    margin-top: 0;
    transition: .5s;
}

h1 {
    color: #e51a21;
}

.main-h5 {
    font-size: 1.2rem;
    /* color: #e51a21; */
    /* font-weight: 700; */
    margin-top: 40px;
    margin-bottom: -10px;
}
.border {
    border: 2px solid #e51a21;
    padding: 20px;
    border-radius: 5px;
}

.pulse {
    position: relative;
    text-align: center; 
    padding: 20px;
    border-radius: 50%;
    width: 80px;
    height: 80px;
  }

  .pulse::before {
    content: '';
    position: absolute;
    border: 2px solid #3D64FF;
    left: -20px;
    opacity: 0;
    right: -20px;
    top: -20px;
    bottom: -20px;
    border-radius: 50%;
    animation: pulse 2.5s linear infinite;
  }

  @keyframes pulse {
    0% {
      transform: scale(0.5);
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      transform: scale(1.2);
      opacity: 0;
    }
  }

  .pulse::after,
.pulse::before {
  content: '';
  position: absolute;
  border: 2px solid #e51a21;
  left: -20px;
  opacity: 0;
  right: -20px;
  top: -20px;
  bottom: -20px;
  border-radius: 50%;
  animation: pulse 2.5s linear infinite;
}

.pulse::after {
  animation-delay: 1.25s;
}

@keyframes pulse {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}